package org.argeproje.resim;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.forms.IManagedForm;
import org.eclipse.ui.forms.editor.FormEditor;
import org.eclipse.ui.forms.editor.FormPage;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;

public class ShapesEditorFormPage extends FormPage {

	public ShapesEditorFormPage(FormEditor editor,ShapesEditor shapeEditor) {
		super(editor, ShapesEditor.ID, shapeEditor.getTitle());
		// TODO Auto-generated constructor stub
	}
	
    protected void createFormContent(IManagedForm managedForm) {   
        FormToolkit toolkit = managedForm.getToolkit(); 
        ScrolledForm form = managedForm.getForm(); 
        form.setText("Empty FormPage"); 
        Composite body = form.getBody(); 
        toolkit.paintBordersFor(body); 
    }

}
